home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 7 / FM Towns Free Software Collection 7.iso / taropyon / hewin / ccisrc / affrun.h < prev    next >
C/C++ Source or Header  |  1993-11-30  |  1KB  |  42 lines

  1. #ifndef    _AFFRUN_H
  2. #define    _AFFRUN_H
  3.  
  4. #define    AFFRUN_TYP_OFF    (0)    /* 登録なし            */
  5. #define    AFFRUN_TYP_IAP    (2)    /* 内蔵アプリ        */
  6. #define    AFFRUN_TYP_CCI    (3)    /* CCI 作成アプリ    */
  7. #define    AFFRUN_TYP_DOS    (4)    /* DOS コマンド        */
  8.  
  9. #define    AFFRUN_DOS_MD_NORMAL    (0)    /* 既存のDOS console で実行        */
  10. #define    AFFRUN_DOS_MD_DSPIGN    (1)    /* 表示なし                        */
  11.  
  12. #ifndef    __CCI__
  13. typedef    struct    _affRun_t
  14. {    struct    _affRun_t        *next;
  15.     int                        ftyp;        /* ファイルタイプ    */
  16.     char                    name[14];    /* ファイル名        */
  17.     int                        atyp;
  18.     union
  19.     {    struct
  20.         {    int                aplTyp;        /* アプリタイプ        */
  21.         } iap;
  22.         struct
  23.         {    char            func[128];    /* 関数名            */
  24.         } cci;
  25.         struct
  26.         {    int                cons;        /* コンソール有/無    */
  27.             char            cmd[128];
  28.         } dos;
  29.     } apl;
  30.     size_t                parLen;        /* パラメータの長さ                */
  31.     char                *para;        /* パラメータ                    */
  32. } AFFRUN_T;
  33.  
  34.  
  35. AFFRUN_T    *Aff_getRunFile( int ftyp, char *name);
  36. int        Aff_setRunFileAttr( int ftyp, char *name, int atyp, ... );
  37. int        AFF_runFile( AFF_T *aff, int ftyp, char *name );
  38.  
  39. #endif
  40.  
  41. #endif
  42.